package com.example.database.demo.pojo.SFPojo.responseData;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * @author xionglin
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResponseData {
        /**
         * 成功响应
         */
        private String apiErrorMsg;
        private String apiResponseID;
        private String apiResultCode;
        private ApiResultData apiResultData;

        /**
         * 失败响应
         */
        private Boolean success;
        private String errorCode;
        private String errorMsg;

        private MsgData msgData;
        private String msg;

        public static void main(String[] args) {
                String s =  "{\\\"errorCode\\\":\\\"S0000\\\",\\\"msgData\\\":{\\\"waybillFeeList\\\":[{\\\"customerAcctCode\\\":\\\"9999999999\\\",\\\"name\\\":\\\"保费\\\",\\\"paymentTypeCode\\\":\\\"1\\\",\\\"settlementTypeCode\\\":\\\"2\\\",\\\"type\\\":\\\"1\\\",\\\"value\\\":205.0},{\\\"customerAcctCode\\\":\\\"9999999999\\\",\\\"paymentTypeCode\\\":\\\"2\\\",\\\"settlementTypeCode\\\":\\\"2\\\",\\\"type\\\":\\\"3\\\",\\\"value\\\":2.0}],\\\"waybillInfo\\\":{\\\"addresseeAddr\\\":\\\"北京市-市辖区-朝阳区-十里河文化园a座9楼\\\",\\\"addresseeContName\\\":\\\"好先生\\\",\\\"addresseeMobile\\\":\\\"13976655900\\\",\\\"billHigh\\\":0.0,\\\"billLong\\\":0.0,\\\"billWidth\\\":0.0,\\\"cargoTypeCode\\\":\\\"SP636\\\",\\\"consignorAddr\\\":\\\"广东省深圳市福田上沙东村0号\\\",\\\"consignorContName\\\":\\\"潘俊儒\\\",\\\"consignorMobile\\\":\\\"17688939300\\\",\\\"consignorPhone\\\":\\\"17688939300\\\",\\\"customerAcctCode\\\":\\\"9999999999\\\",\\\"destZoneCode\\\":\\\"755\\\",\\\"expressTypeCode\\\":\\\"B2\\\",\\\"limitTypeCode\\\":\\\"T6\\\",\\\"meterageWeightQty\\\":1.0,\\\"realWeightQty\\\":1.0,\\\"shieldFlg\\\":\\\"0\\\",\\\"sourceZoneCode\\\":\\\"755A\\\",\\\"volume\\\":35000.0,\\\"waybillNo\\\":\\\"SF1417441931636\\\"}},\\\"success\\\":true}";
                String replace = s.replace("\\", "");
                System.out.println(replace);
        }
}
